package com.ruoyi.restaurant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐台管理对象 sys_table
 * 
 * @author ruoyi
 * @date 2022-04-12
 */
public class SysTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 餐台id */
    private Integer tableId;

    /** 餐台编号 */
    @Excel(name = "餐台编号")
    private String tableNums;

    /** 餐台人数 */
    @Excel(name = "餐台人数")
    private Long tablePeople;

    /** 餐台状态 */
    @Excel(name = "餐台状态")
    private Integer tableStatus;

    public void setTableId(Integer tableId) 
    {
        this.tableId = tableId;
    }

    public Integer getTableId() 
    {
        return tableId;
    }
    public void setTableNums(String tableNums) 
    {
        this.tableNums = tableNums;
    }

    public String getTableNums() 
    {
        return tableNums;
    }
    public void setTablePeople(Long tablePeople) 
    {
        this.tablePeople = tablePeople;
    }

    public Long getTablePeople() 
    {
        return tablePeople;
    }
    public void setTableStatus(Integer tableStatus) 
    {
        this.tableStatus = tableStatus;
    }

    public Integer getTableStatus() 
    {
        return tableStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("tableNums", getTableNums())
            .append("tablePeople", getTablePeople())
            .append("tableStatus", getTableStatus())
            .toString();
    }
}
